home *** CD-ROM | disk | FTP | other *** search
/ InterCD 2000 September / september_2000.iso / intercd / root / ^Linux / WindowMaker / src / properties.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-02-16  |  1.7 KB  |  51 lines

  1. /*
  2.  *  Window Maker window manager
  3.  * 
  4.  *  Copyright (c) 1997, 1998 Alfredo K. Kojima
  5.  * 
  6.  *  This program is free software; you can redistribute it and/or modify
  7.  *  it under the terms of the GNU General Public License as published by
  8.  *  the Free Software Foundation; either version 2 of the License, or
  9.  *  (at your option) any later version.
  10.  *
  11.  *  This program is distributed in the hope that it will be useful,
  12.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  *  GNU General Public License for more details.
  15.  *
  16.  *  You should have received a copy of the GNU General Public License
  17.  *  along with this program; if not, write to the Free Software
  18.  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 
  19.  *  USA.
  20.  */
  21.  
  22.  
  23. #ifndef WMPROPERTIES_H_
  24. #define WMPROPERTIES_H_
  25.  
  26. #include "GNUstep.h"
  27.  
  28. unsigned char* PropGetCheckProperty(Window window, Atom hint, Atom type, 
  29.                     int format, int count, int *retCount);
  30.  
  31. int PropGetWindowState(Window window);
  32.  
  33. int PropGetNormalHints(Window window, XSizeHints *size_hints, int *pre_iccm);
  34. void PropGetProtocols(Window window, WProtocols *prots);
  35. int PropGetWMClass(Window window, char **wm_class, char **wm_instance);
  36. int PropGetGNUstepWMAttr(Window window, GNUstepWMAttributes **attr);
  37. void PropWriteGNUstepWMAttr(Window window, GNUstepWMAttributes *attr);
  38.  
  39. void PropSetWMakerProtocols(Window root);
  40. void PropCleanUp(Window root);
  41. void PropSetIconTileHint(WScreen *scr, RImage *image);
  42.  
  43. Window PropGetClientLeader(Window window);
  44.  
  45. #ifdef XSMP_ENABLED
  46. char *PropGetClientID(Window window);
  47. #endif
  48.  
  49.  
  50. #endif
  51.